Skip to main content
GET
/
agent
/
schema
[Deprecated] Legacy sectioned schema — use /schema/v2
curl --request GET \
  --url https://api.example.com/agent/schema
{
  "identity": {},
  "context_config": {},
  "react_config": {}
}

Response

Successful Response

Deprecated. JSON Schema fragments used by the frontend to render the agent create / edit forms.

Superseded by :class:AgentSchemaV2Response, which returns the full :class:AgentData JSON Schema in a single schema field so newly added agent fields (like the invite_config sub-model) reach the frontend automatically without the router having to know about them.

The frontend previously split :class:AgentData into three hand-picked sections (identity, context_config, react_config) here, which required a router edit every time a new user-editable field landed on :class:AgentData. Kept for backwards compatibility with pre-v2 API consumers.

identity
Identity · object
required

Schema for the agent's identity fields (name, system_prompt).

context_config
Context Config · object
required

Schema for ContextConfig.

react_config
React Config · object
required

Schema for ReActConfig.